<div class="example-wrapper">
    <div style="margin-bottom: 5px;">
        <button onclick="expandAll()">Expand All</button>
        <button onclick="collapseAll()">Collapse All</button>
        <button onclick="expandCountries()">Expand Countries</button>
        <button onclick="expandAustralia2000()">Expand 'Australia', '2000'</button>
    </div>
    <div id="myGrid" class="ag-theme-quartz"></div>
</div>